<script type="text/javascript" >
<{include file='product/quality/js/index.js'}>
</script>
<link href="/css/product/quality.css" rel="stylesheet" type="text/css"/>
<div class="search_div">
    <form id="sForm" name="sForm">
        <div>
            <label>
                <{$lang.quanlity_code}> : <input type="text" value="" name="qco_code" class="myInput"/>
            </label>&nbsp;
            <label>
                <{$lang.receive}><{$lang.code}> : <input type="text" value="" name="receivingNo" class="myInput"/>
            </label>&nbsp;
            <label>
                <{$lang.customer_code}> : <input type="text" value="" name="customer_id" class="myInput"/>
            </label>&nbsp;
            <label>
                <{$lang.from}> : <input type="text" value="" onfocus="this.value=''" name="dateFrom" style="width:70px;" id="dateFrom" class="myInput"/>
            </label>&nbsp;
            <label>
                <{$lang.to}>: <input type="text" value="" onfocus="this.value=''" name="dateTo" style="width:70px;" id="dateTo" class="myInput"/>
            </label>&nbsp;
            <label><{$lang.status}> : 
                <select name="status" onchange="submitsearch();">
                    <option value=""><{$lang.pls}></option>
                    <{foreach key=key item=item from=$status}>
                    <option value="<{$key}>"><{$item}></option>
                    <{/foreach}>
                </select>
            </label>&nbsp;
            <input class="button submitsearch" type="button" value="<{$lang.search}>">
        </div>
    </form>
    
</div>

<div style="margin:6px 0;">
<h3>QC<{$lang.list}></h3>
<input style="margin:5px" class="button toggleButton" type="button" value="<{$lang.folder}>" status="1">
<span onclick="qcPrintProduct('3x2');" class="button" style="cursor: pointer;text-align:center;"><{$lang.print}><{$lang.product}><{$lang.label}>3x2</span>
<span onclick="qcPrintProduct('5x2');" class="button" style="cursor: pointer;text-align:center;"><{$lang.print}><{$lang.product}><{$lang.label}>5x2</span>
&nbsp;&nbsp;<label>黑:[<{$lang.quanlity}>]</label>&nbsp;&nbsp;<label style="color:blue;">蓝:[免检]</label>&nbsp;&nbsp;<label style="color:red;">红:[特采]</label>
</div>

<div id="viewlist" >
        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="myTab">
            <tbody>
            <tr class="even-tr">
            	<th width="2%"><input type="checkbox" class="checkAllRecord"></th>
                <th width="4%"><{$lang.No}></th>
                <th width="6%"><{$lang.priority}></th>
                <th width="8%"><{$lang.quanlity_code}></th>
                <th width="10%"><{$lang.referNo}></th>
                <th width="6%"><{$lang.customer_code}></th>
                <th width="6%">送检<{$lang.quantity}></th>
                <th width="6%">实收<{$lang.quantity}></th>
                <th width="6%">通过<{$lang.quantity}></th>
                <th width="4%"><{$lang.status}></th>
                <th width="6%"><{$lang.create}>人</th>
                
                <th width="8%">联系人/<{$lang.telphone}></th>
                <th width="12%"><{$lang.date}></th>
                <th width="5%"><{$lang.operation}></th>
            </tr>
            </tbody>
            <tbody id="listloadData">
                <tr><td colspan="14"><{$lang.pls_input}><{$lang.search}>内容!</td></tr>
            </tbody>
        </table>
    <div class="pagination"></div>
    <div id="alert_msg" style="display: none;" title="<{$lang.tip}><{$lang.msg}>">
		<p style="font-size: 14px;"></p>
    </div>
    <div id="printDialog" style="display:none" title="Print"> </div>
</div>
<div id="editDialog" title="第一次<{$lang.receive}>,核对<{$lang.product}><{$lang.msg}>" style="display: none;">
    <form id="editpform">
        <input type="hidden" name="old_weight" class=""/> <!--用于对比-->
        <input type="hidden" name="qco_code" class=""/> <!--用于QC中转-->
        <table class="editTable">
            <tr>
                <td><{$lang.product}><{$lang.sku}>:<input type="hidden" name="productId"/><input type="hidden" name="warehouseId" value=""/></td>
                <td class="<{$lang.sku}>"></td>
				<td rowspan="7">
					 <div id="pic" style=" clear:left;float:right; width:200px; height:200px;">
						
					 </div>
				</td>
            </tr>
            <tr>
                <td><{$lang.product}><{$lang.weight}>:</td><td><input type="text" name="weight" class="width4"/>KG</td>
				
            </tr>
            <tr>
                <td><{$lang.product}><{$lang.category}>:</td><td><select name="category" class="width4">
                <{foreach from=$categorys item=category}>
                <option value="<{$category.poc_id}>"><{$category.poc_value}></option>
                <{/foreach}>
            </select></td>
            </tr>
            <tr>
                <td>包装<{$lang.type}>:</td><td><span id="packageBox">
			<select name="packet" id='packet' class="width4">
            </select></span></td>
            </tr>
            <tr><td><{$lang.declar_price}>:</td><td><input type="text" name="declared" class="width4"/></td></tr>
            <tr><td><{$lang.product}><{$lang.length}>:</td><td><input type="text" name="product_length" class="width4"/>cm</td></tr>
            <tr><td><{$lang.product}><{$lang.width}>:</td><td><input type="text" name="product_width" class="width4"/>cm</td></tr>
            <tr><td><{$lang.product}><{$lang.height}>:</td><td><input type="text" name="product_height" class="width4"/>cm</td></tr>
        </table>
		
    </form>
</div>